package com.baidu.day01;

/**
 * Create with Intellij IDEA
 *
 * @Author Q
 * @date 2021/11/22/10:49
 */
public class ForDemo {
    public static void main(String[] args) {
        for(int i=1,j=1;i<=9;){
            System.out.printf("%d*%d=%d\t", j, i, i*j);
            j++;
            if(j>i){
                System.out.printf("\n");
                i++;
                j=1;
            }
        }
    }
}
